package com.springboot.distributed.transaction.zookeeper;

/**
 * 事务状态枚举
 *
 * @author supu
 * @date 2019-09-11 15:24
 **/
public enum TransactionStatusEnum {
    /**
     * 提交
     */
    COMMIT("commit"),
    /**
     * 回滚
     */
    ROLLBACK("rollback"),
    /**
     * 未知状态
     */
    UNKNOW("unknow");

    private String value;

    TransactionStatusEnum(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }
}
